<?php

namespace km\log;

/**
 * FileLogger
 *
 * @author vbolshov
 */
class FileLogger extends Logger {
	private $filename;
	function __construct($filename)
	{
		$this->filename = $filename;
	}
	protected function doFinalize()
	{
		error_log($this->getMessageString(), 3, $this->filename);
	}
}